<template>
  <div id="app">
    <div>{{ count }}</div>
    <button @click="fn">洗一次脚花100元</button>
    <button @click="hn">抽一次奖奖励500</button>
  </div>
</template>

<script>
export default {
  data() {
    return { count: 1000 }
  },

  methods: {
    fn() {
      this.count -= 100
    },
    hn() {
      this.count += 500
    },
  },
}
</script>

<style scoped></style>
